@extends('ClubLeader/default.app')

@section('title','ClubInfo')

@section('content')
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <article class="club-info">
                    <header class="info-title">
                        <span>{{ $club->club_name }}</span>
                        <span><a href="{{ route('clubInfo.edit',$club->id) }}" class="edit"><i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i></a></span>
                    </header>

                    <article class="info-content">
                        <section>
                            <img src="/uploads/clubs_pic/clubs/{{ $club->club_pic }}">
                        </section>

                        <section>
                            <div class="info-item">
                                <span>俱乐部名称 <i class="fa fa-user-circle-o" aria-hidden="true"></i></span>
                                <span>{{ $club->club_name }}</span>
                            </div>
                            <div class="info-item">
                                <span>教练个数 <i class="fa fa-id-card" aria-hidden="true"></i></span>
                                <span>{{ $club->coach_count }}</span>
                            </div>
                            <div class="info-item">
                                <span>营业时间 <i class="fa fa-clock-o" aria-hidden="true"></i></span>
                                <span>{{ $club->work_time }}</span>
                            </div>
                            <div class="info-item">
                                <span>地址 <i class="fa fa-location-arrow" aria-hidden="true"></i></span>
                                <span>{{ $club->club_address }}</span>
                            </div>
                            <div class="info-item">
                                <span>联系电话 <i class="fa fa-phone" aria-hidden="true"></i></span>
                                <span>{{ $club->club_phone }}</span>
                            </div>
                        </section>
                    </article>

                    <section class="info-intro">
                        <span>俱乐部简介</span>
                        <span>{{ $club->club_intro }}</span>
                    </section>

                </article>
            </div>
        </div>
    </div>
@endsection
